package test;

import org.jsonstruts.annotation.WebUrl;

@WebUrl("/index2")
public class Index2 {
	private String name;

	private int age;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Object execute() {
		User user = new User();
		user.setName("index2" + name);
		user.setAge(age);
		return user;
	}

}
